package com.wolf.util;

/**
 * @author sdyang
 * @date 2019/12/5 16:49
 **/
public class NumberUtil {

    public static boolean isEmpty(Long num) {
        if (num == null || num == 0L) {
            return true;
        }
        return false;
    }

    public static boolean isNotEmpty(Long num) {
        return !isEmpty(num);
    }

    public static boolean isEmpty(Integer num) {
        if (num == null || num == 0) {
            return true;
        }
        return false;
    }

    public static boolean isNotEmpty(Integer num) {
        return !isEmpty(num);
    }
}
